<?php

namespace User;

class UserClient extends \Grpc\BaseStub
{

    public function __construct($hostname, array $opts, $channel = null)
    {
        parent::__construct($hostname, $opts, $channel);

    }

    public function getUser($argument, $metadata = [], $options = [])
    {

        return $this->_simpleRequest(
            "/user.user/getUser",
            $argument,
            ['\User\UserInfoReply', 'decode'],
            $metadata,
            $options
        );
    }
}
